package com.project.weimi.utils;

import android.view.View;
import android.view.View.OnClickListener;

public class SetClickListener {

	public static void setClickListener(OnClickListener listener,Object...objects){
		for (int i = 0; i < objects.length; i++) {
			if(objects[i] instanceof View){
				((View)objects[i]).setOnClickListener(listener);
			}
		}
	}
	
}
